package cn.yunhe.dao;

import cn.yunhe.entity.Member;
import cn.yunhe.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository(value = "roleDao")
public interface RoleDao {
    List<Role>searchByConditions(Map<String,Object>objectMap);

    int insert2Role_Permissions(Map<String,Object>objectMap);
    int update2Role_Permissions(Map<String,Object>objectMap);
    int delete2Role_Permissions(Map<String,Object>objectMap);
}
